package com.atguigu.gmall.common.config.thread.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "app.threadpool")
@Data
public class AppThreadProperties {
    Integer corePoolSize = 4;
    Integer maximumPoolSize = 8;
    Long keepAliveTime = 6L;
    Integer capacity = 1000;
}
